package org.september.pisces.task;

import org.september.pisces.task.controller.TaskController;
import org.september.pisces.task.controller.TaskLogController;

public enum PiscesTaskPermission {
    定时任务列表(TaskController.List_Page,TaskController.List_Data ,TaskLogController.List_Page , TaskLogController.List_Data),
    暂停恢复任务(TaskController.Pause_Action,TaskController.Resume_Action),
	;

    private String name;
    private String[] urls;

    PiscesTaskPermission(String... urls) {
        this.name = this.name();
        this.urls = urls;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String[] getUrls() {
		return urls;
	}

	public void setUrls(String[] urls) {
		this.urls = urls;
	}

}
